package v2ch12.employee;

/**
 * @author Cay Horstmann
 * @version 1.10 1999-11-13
 */

public class Employee {
	static {
		System.loadLibrary("Employee");
	}
	
	private String name;
	private double salary;
	
	public Employee(String n, double s) {
		name = n;
		salary = s;
	}
	
	public native void raiseSalary(double byPercent);
	
	public void print() {
		System.out.println(name + " " + salary);
	}
}
